package com.wiloon.java8x.mocking;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by USER on 2015/8/12.
 */
public class ClassUnderTest {
    private static Logger logger = LoggerFactory.getLogger(ClassUnderTest.class);
    private Collaborator listener;

    // ...
    public void setListener(Collaborator listener) {
        this.listener = listener;
    }

    public void addDocument(String title, byte[] document) {
        // ...
    }

    public String removeDocument(String s) {
        return "abc";
    }

    public void getFoo(String str) {
        logger.debug("get foo invoked");
    }
}